<?php
require_once 'crypt/des.php';
require_once 'crypt/rsa.php';

class Crypt {
	const TYPE_DES = "Des";
	const TYPE_RSA = "Rsa";
	
	static function factory($type) {
		return new $type;
	}
}